Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Graphics /
Chapter 3 - Geometric Styles / Geometric Styles Reference
Functions


Getting and Setting Caps

QuickDraw GX allows you to specify what to draw at the start and at the end of a shape's contours. In particular, you may specify a start cap for any point shape, and you may specify a start cap and an end cap for any line, curve, polygon, or path shape that has an gxOpenFrameFill shape fill. You must always specify cap shapes in primitive form.

"The Cap Structure" on page 3-99 describes the gxCapRecord structure, which you use when retrieving or specifying cap information. That section also describes what types of shapes you may use as cap shapes.

You can use the GXGetStyleCap function to retrieve the cap information from a style object and the GXSetStyleCap function to specify cap information for a style object.

The GXGetShapeCap and GXSetShapeCap functions provide a way to retrieve and specify cap information for the style object associated with a particular shape.


Subtopics
GXGetStyleCap
GXSetStyleCap
GXGetShapeCap
GXSetShapeCap

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996